const server = {
  // url: 'ws://192.168.3.4',
  // url: 'ws://im.jiahuagame.com',
  url: 'wss://imtest.jiahuagame.com',
  // url: 'ws://10.10.10.155',
  // url: 'ws://192.168.1.155',
  port: 8260,
};


if (window.location.href.match('jiahuagame')) {
  server.url = 'wss://im.jiahuagame.com';
  server.port = 8260;
}

if (window.location.href.match('lefantian')) {
  server.url = 'wss://imtest.jiahuagame.com';
  server.port = 8260;
}

export {
  server,
};